package com.soft.pojo;

import java.io.Serializable;

/**
 * @author ruoxi
 * @create 2021-12-24 11:33
 */
public class Emp implements Serializable {
    private Integer id;
    private String eno;
    private String ename;
    private String job;
    private String hiredate;
    private Integer age;
    private String sex;
    private Double sal;
    private Integer deptno;
    private String dName;
    private String time;

    @Override
    public String toString() {
        return "Emp{" +
                "id=" + id +
                ", eno='" + eno + '\'' +
                ", ename='" + ename + '\'' +
                ", job='" + job + '\'' +
                ", hiredate=" + hiredate +
                ", age=" + age +
                ", sex='" + sex + '\'' +
                ", sal=" + sal +
                ", deptno=" + deptno +
                ", dname='" + dName + '\'' +
                ", time='" + time + '\'' +
                '}';
    }

    public Emp() {
    }

    public Emp(Integer id, String eno, String ename, String job, String hiredate, Integer age, String sex, Double sal, Integer deptno, String dName, String time) {
        this.id = id;
        this.eno = eno;
        this.ename = ename;
        this.job = job;
        this.hiredate = hiredate;
        this.age = age;
        this.sex = sex;
        this.sal = sal;
        this.deptno = deptno;
        this.dName = dName;
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEno() {
        return eno;
    }

    public void setEno(String eno) {
        this.eno = eno;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getHiredate() {
        return hiredate;
    }

    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Double getSal() {
        return sal;
    }

    public void setSal(Double sal) {
        this.sal = sal;
    }

    public Integer getDeptno() {
        return deptno;
    }

    public void setDeptno(Integer deptno) {
        this.deptno = deptno;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
